747ac76afe7f144f9918920608704fcc3efab8cf,Core/src/org/sleuthkit/autopsy/casemodule/services/TagsManager.java,TagsManager,addContentTag,#Content#TagName#String#number#number#,219

Before Change


     *                                  the case database.
     */
    public synchronized ContentTag addContentTag(Content content, TagName tagName, String comment, long beginByteOffset, long endByteOffset) throws IllegalArgumentException, TskCoreException {
        lazyLoadExistingTagNames();

        if (beginByteOffset >= 0 && endByteOffset >= 1) {
            if (beginByteOffset > content.getSize() - 1) {

After Change


     */
    public ContentTag addContentTag(Content content, TagName tagName, String comment, long beginByteOffset, long endByteOffset) throws IllegalArgumentException, TskCoreException {
        ContentTag tag;
        synchronized (this) {
            lazyLoadExistingTagNames();

            if (beginByteOffset >= 0 && endByteOffset >= 1) {
                if (beginByteOffset > content.getSize() - 1) {